\hypertarget{class_vector}{
\section{\-Vector \-Class \-Reference}
\label{class_vector}\index{\-Vector@{\-Vector}}
}


\hyperlink{class_vector}{\-Vector} class.  




{\ttfamily \#include $<$vector.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_vector_ac37c37579f774e7caca05777438b35e1}{
{\bfseries \-Vector} (const double \&a, const double \&b, const double \&c)}
\label{class_vector_ac37c37579f774e7caca05777438b35e1}

\item 
\hypertarget{class_vector_a660c349db92ad8c2465487b78953f51c}{
double {\bfseries length} ()}
\label{class_vector_a660c349db92ad8c2465487b78953f51c}

\item 
\hypertarget{class_vector_a8cc4aefe1d880f18feac3426ea8d933e}{
double \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}
\label{class_vector_a8cc4aefe1d880f18feac3426ea8d933e}

\item 
\hypertarget{class_vector_aaf99974616dc176c949a6eb14ab34685}{
const double {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }
\label{class_vector_aaf99974616dc176c949a6eb14ab34685}

\item 
\hypertarget{class_vector_a439f710d3deeb8609b3428d79630c420}{
\hyperlink{class_vector}{\-Vector} {\bfseries \-Scale} (const \hyperlink{class_vector}{\-Vector} \&b) const }
\label{class_vector_a439f710d3deeb8609b3428d79630c420}

\item 
\hypertarget{class_vector_a55aa4644709bc040a90dbff081bb717a}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator+} () const }
\label{class_vector_a55aa4644709bc040a90dbff081bb717a}

\item 
\hypertarget{class_vector_a1c38f8a4f5f6f9438e3ec8233cfaa6b0}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator-\/} () const }
\label{class_vector_a1c38f8a4f5f6f9438e3ec8233cfaa6b0}

\item 
\hypertarget{class_vector_a669208fe9ad795111df6a54683563c6d}{
\hyperlink{class_vector}{\-Vector} \& {\bfseries operator+=} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_a669208fe9ad795111df6a54683563c6d}

\item 
\hypertarget{class_vector_abc58d82a7f0ec941d4f4d66012cf5e83}{
\hyperlink{class_vector}{\-Vector} \& {\bfseries operator-\/=} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_abc58d82a7f0ec941d4f4d66012cf5e83}

\item 
\hypertarget{class_vector_aa0ffd0237c0ba122b2a56fb84cdf5378}{
\hyperlink{class_vector}{\-Vector} \& {\bfseries operator$\ast$=} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_aa0ffd0237c0ba122b2a56fb84cdf5378}

\item 
\hypertarget{class_vector_a7e0eaf65ee4c031c1a2f1868ce715761}{
\hyperlink{class_vector}{\-Vector} \& {\bfseries operator/=} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_a7e0eaf65ee4c031c1a2f1868ce715761}

\item 
\hypertarget{class_vector_a5e9a64ca63bfbbd1a49c34fd10507459}{
\hyperlink{class_vector}{\-Vector} \& {\bfseries operator$\ast$=} (double)}
\label{class_vector_a5e9a64ca63bfbbd1a49c34fd10507459}

\item 
\hypertarget{class_vector_a44879c9208fb830aa748fcf654776ebd}{
\hyperlink{class_vector}{\-Vector} \& {\bfseries operator/=} (double)}
\label{class_vector_a44879c9208fb830aa748fcf654776ebd}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_vector_a133722e00601091cb2075219da5da6e4}{
double {\bfseries x}}
\label{class_vector_a133722e00601091cb2075219da5da6e4}

\item 
\hypertarget{class_vector_a09a21a140718f234eea348d5058cee0b}{
double {\bfseries y}}
\label{class_vector_a09a21a140718f234eea348d5058cee0b}

\item 
\hypertarget{class_vector_a1b604d674485316754b72494f5fcc960}{
double {\bfseries z}}
\label{class_vector_a1b604d674485316754b72494f5fcc960}

\end{DoxyCompactItemize}
\subsection*{\-Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_vector_af3fdd2b7487c71d4b20a74e30a95891d}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator+} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_af3fdd2b7487c71d4b20a74e30a95891d}

\item 
\hypertarget{class_vector_ac4505f13a01e5d3312660626ae4ddebb}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator-\/} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_ac4505f13a01e5d3312660626ae4ddebb}

\item 
\hypertarget{class_vector_af1d37366ff3e48ec9bb37885cdf89f71}{
double {\bfseries operator$\ast$} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_af1d37366ff3e48ec9bb37885cdf89f71}

\item 
\hypertarget{class_vector_ad5b5658ce9cdb77c1e02c0716b4446c6}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator$\ast$} (const \hyperlink{class_vector}{\-Vector} \&, double)}
\label{class_vector_ad5b5658ce9cdb77c1e02c0716b4446c6}

\item 
\hypertarget{class_vector_af5e2acc16843ab7b90d3c5755125fef4}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator$\ast$} (double, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_af5e2acc16843ab7b90d3c5755125fef4}

\item 
\hypertarget{class_vector_adc4d2909e834dd600fae663f2c98a432}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator/} (const \hyperlink{class_vector}{\-Vector} \&, double)}
\label{class_vector_adc4d2909e834dd600fae663f2c98a432}

\item 
\hypertarget{class_vector_a7ac2d5db6d0258692a3278bf90069c6a}{
\hyperlink{class_vector}{\-Vector} {\bfseries operator/} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_a7ac2d5db6d0258692a3278bf90069c6a}

\item 
\hypertarget{class_vector_aca63309fd635cd4fa72e5335b76e1c21}{
int {\bfseries operator==} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_aca63309fd635cd4fa72e5335b76e1c21}

\item 
\hypertarget{class_vector_ade583d2f018e2ff120d78c0e0998a422}{
int {\bfseries operator!=} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_ade583d2f018e2ff120d78c0e0998a422}

\item 
\hypertarget{class_vector_ac6abefa6e71400fc5de5ca68b5ca7651}{
int {\bfseries operator$<$} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_ac6abefa6e71400fc5de5ca68b5ca7651}

\item 
\hypertarget{class_vector_ac4e29ac8916987f0d304c44c6a98afed}{
int {\bfseries operator$>$} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_ac4e29ac8916987f0d304c44c6a98afed}

\item 
\hypertarget{class_vector_a42522fc19a307d9ceca3ec122e81fea7}{
\hyperlink{class_vector}{\-Vector} \hyperlink{class_vector_a42522fc19a307d9ceca3ec122e81fea7}{min} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_a42522fc19a307d9ceca3ec122e81fea7}

\begin{DoxyCompactList}\small\item\em \-Return a new vector with coordinates set to the minimum coordinates of the two argument vectors. \end{DoxyCompactList}\item 
\hypertarget{class_vector_ac7fa5b7201c15daca80958d11a93c79a}{
\hyperlink{class_vector}{\-Vector} \hyperlink{class_vector_ac7fa5b7201c15daca80958d11a93c79a}{max} (const \hyperlink{class_vector}{\-Vector} \&, const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_ac7fa5b7201c15daca80958d11a93c79a}

\begin{DoxyCompactList}\small\item\em \-Return a new vector with coordinates set to the maximum coordinates of the two argument vectors. \end{DoxyCompactList}\item 
\hypertarget{class_vector_ac32c66eb175b3fc3a00aa2b972af9a72}{
\hyperlink{class_vector}{\-Vector} \hyperlink{class_vector_ac32c66eb175b3fc3a00aa2b972af9a72}{\-Orthogonal} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_ac32c66eb175b3fc3a00aa2b972af9a72}

\begin{DoxyCompactList}\small\item\em \-Returns a new vector orthogonal to the argument vector. \end{DoxyCompactList}\item 
\hypertarget{class_vector_aafee6c0f5a420bd4f869b62d099222b3}{
double \hyperlink{class_vector_aafee6c0f5a420bd4f869b62d099222b3}{\-Norm} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_aafee6c0f5a420bd4f869b62d099222b3}

\begin{DoxyCompactList}\small\item\em \-Compute the \-Euclidean norm of a vector. \end{DoxyCompactList}\item 
\hypertarget{class_vector_a49c314e89f483ee7c68fca2baf9920b1}{
\hyperlink{class_vector}{\-Vector} \hyperlink{class_vector_a49c314e89f483ee7c68fca2baf9920b1}{\-Normalized} (const \hyperlink{class_vector}{\-Vector} \&)}
\label{class_vector_a49c314e89f483ee7c68fca2baf9920b1}

\begin{DoxyCompactList}\small\item\em \-Compute the \-Euclidean norm of a vector. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\hyperlink{class_vector}{\-Vector} class. 

\hyperlink{class_vector}{\-Vector} is a data structure 

\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
headers/\hyperlink{vector_8h}{vector.\-h}\end{DoxyCompactItemize}
